from common import *

DEBUG = False
TEMPLATE_DEBUG = DEBUG
DAJAXICE_DEBUG = False
DJANGO_STATIC_MEDIA = False

ADMIN_MEDIA_PREFIX = '/admin_media/'

DATABASE_ENGINE = 'postgresql_psycopg2'

MEDIA_ROOT = ''
MEDIA_URL = 'http://static.infocarretera.com'


CACHE_BACKEND = 'memcached://10.0.0.182:11211/'

GEOS_LIBRARY_PATH = '/usr/local/lib/libgeos_c.so'
GEOIP_PATH = '/home/cupofwifi/cupofwifi/geoip'

import logging
logging.basicConfig(filename="/home/infocarretera/log/infocarretera.log",level=logging.ERROR)

try:
    from production_private_settings import * #Todos los passwords van en este fichero, por motivos logicos no forma parte del svn ^^.
except:
    pass